/*
 * @Author: CoderLPF
 * @Date: 2020-04-08 12:43:09
 * @LastEditTime: 2020-04-15 13:52:31
 * @LastEditors: CoderLPF
 * @Description: 
 * @FilePath: \fzx-system-fd\src\api\resultsreview\index.js
 */

import api from '../index';
import urls from './urls';

export default {
    add(data) {
        return api.post(urls.add, null, null, data);
    },

    getbyid(id) {
        return api.get(urls.getbyid, { id: id }, null);
    },

    getbyids(ids) {
        return api.get(urls.getbyids, ids, null);
    },

    getlist() {

    },

    update(data) {
        return api.post(urls.update, null, null, data);
    },

    delete(id) {
        return api.get(urls.delete, { id, id }, null);
    }
};